<%layout("/common/layout.html"){%>

<%include("/common/head.html"){}%>

<div class="am-lg">

    <div class="am-text-center">
        <h1>回复我的</h1>
    </div>

    <div class="am-u-sm-12">

        <%include("/common/user_left.html"){}%>

        <div class="am-u-sm-7" >
            <br>

            <div class="am-g">

                <%for(book in page.list){%>

                <a href="${base}/book?book=${book.id}&page=1">
                    <div class="am-u-md-10 mybooks">
                        <img class="img-in" src="http://img3.douban.com/mpic/s8448780.jpg" alt=""/>

                        <div class="info">
                            <h2>${book.name}</h2>

                            <%if(book.type==0){%>
                            <p class="am-text-warning">状态:出售</p>
                            <%}else if(book.type==1){%>
                            <p class="am-text-warning">状态:求购</p>
                            <%}else{%>
                            <p class="am-text-warning">状态:赠送</p>
                            <%}%>

                            <p>${printTime(book.time)}</p>
                        </div>

                    </div>
                </a>

                <%}%>

            </div>

            <br>

            <%include("/common/paginate.html",{"currentPage":page.pageNumber,"totalPage":page.totalPage,"actionUrl":actionUrl!}) {}%>


        </div>
    </div>
</div>



<%}%>